package com.example.abstractFactoryPattern;

import com.example.abstractFactoryPattern.color.Color;
import com.example.abstractFactoryPattern.color.ColorType;
import com.example.abstractFactoryPattern.shape.Shape;
import com.example.abstractFactoryPattern.shape.ShapeType;

/**
 * Color 和 Shape 对象的抽象工厂类
 */
public abstract class AbstractFactory {
    public  abstract Color getColor(ColorType colorType);
    public  abstract Shape getShape(ShapeType shapeType);
}
